* {
    padding: 0;
    margin: 0;
    font-family: Times,roboto, 'New Century Schoolbook', Georgia,'New York',微软雅黑;
    font-size: 13px;
    font-weight: 100;
}

#top {
    height: 30px;
    width: 100%;
    display: block;
    background: #6CC143;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

#top #in-top-box {
    width: 1200px;
    height: 30px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

#located-city,
#login-register,
#center,
#contact-us {
    line-height: 30px;
    color: #fff;
    display: inline-block;
}

#switch-city {
    cursor: pointer;
}

#login-register {
    position: absolute;
    top: 0;
    right: 140px;
}

#login,
#register {
    cursor: pointer;
}
#center {
    position: absolute;
    top: 0;
    right: 70px;
    cursor: pointer;
}
#contact-us {
    position: absolute;
    top: 0;
    right: 0px;
    cursor: pointer;
}
#switch-city:hover,#login:hover,#register:hover,#center:hover,#contact-us:hover{
    color: #a500a8;
}
#head{
    margin-top: 30px;
    height: 50px;
    width: 100%;
    border-bottom: solid 1px #f8f8f8;
    box-shadow: 2px 2px 2px #f8f8f8;
}
#in-head-box{
    width: 1200px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}
#title{
    font-size: 30px;
    font-weight: 400;
    color: #6CC143;
    line-height: 50px;
    position: absolute;
    left: 0;
    top: 0;
}
#main-link{
    font-weight: 400;
    text-decoration: none;
    margin-left: 20px;
    position: absolute;
    left: 100px;
    top: 10px;
}
#main-link li{
    list-style: none;
    display: inline-block;
    padding:5px 10px;
    margin-left: 20px;
    color: #00A800;
    border-radius: 10px;
    border: 1px solid #a5e6a5;
    font-weight: 400;
    cursor: pointer;
}
#main-link li:hover{
    border:  1px solid #6CC143;
}
#main-link li.active{
    background-color: #6CC143;
    border: 1px solid #fff;
    color: #fff;
}
#main-link li > a {
    color: #00A800;
    text-decoration:none;
}

.clear-float{
    clear: left;
    clear: right;
}
